package com.niknik.deberc.server.guice;

import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.servlet.GuiceServletContextListener;
import com.niknik.woody.guice.CoreModule;
import com.niknik.woody.guice.RestModule;

public class WGuiceConfigurator
    extends GuiceServletContextListener {

  @Override
  protected Injector getInjector() {
    Injector injector = Guice.createInjector(new RestModule(), new VkDebercModule(), new DebercModule(),
        new CoreModule());
    return injector;
  }
}
